package org.dromara.basedata.domain.bo;

import org.dromara.basedata.domain.ManufacturingProcess;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 制造工艺维护业务对象 manufacturing_process
 *
 * @author Lion Li
 * @date 2025-06-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ManufacturingProcess.class, reverseConvertGenerate = false)
public class ManufacturingProcessBo extends BaseEntity {

    /**
     * 工艺ID
     */
    @NotNull(message = "工艺ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 制造工艺（工艺名称）
     */
    @NotBlank(message = "制造工艺（工艺名称）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String processName;

    /**
     * 设计文件路径
     */
    private String designFile;


}
